package com.shop.cloud.model.response.api;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author xiaojun.wang
 */
@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class ApiGetGoodsOrderListResponseGoodsList {

    @JsonProperty("icon")
    @ApiModelProperty(value = "缩略图", example = "缩略图", required = true)
    private String icon;
    
    @JsonProperty("title")
    @ApiModelProperty(value = "标题", example = "标题", required = true)
    private String title;
    
    @JsonProperty("price")
    @ApiModelProperty(value = "价格", example = "价格", required = true)
    private String price;

    /**
     * 商品类型，1：鸿豆，2：积分，3：返利
     */
    @JsonProperty("kind")
    @ApiModelProperty(value = "商品类型", example = "商品类型", required = true)
    private String kind;
    
    @JsonProperty("count")
    @ApiModelProperty(value = "数量", example = "数量", required = true)
    private String count;
    
    @JsonProperty("id")
    @ApiModelProperty(value = "商品id", example = "商品id", required = true)
    private String id;
    
    /**
     * 规格数组，数组每项：规格id|规格值id,例：[1|2，2|1]
     */
    @JsonProperty("feature")
    @ApiModelProperty(value = "规格数组", example = "规格数组", required = true)
    private String[] feature;
    
    @JsonProperty("featureStr")
    @ApiModelProperty(value = "规格描述", example = "规格描述", required = true)
    private String featureStr;

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getKind() {
		return kind;
	}

	public void setKind(String kind) {
		this.kind = kind;
	}

	public String getCount() {
		return count;
	}

	public void setCount(String count) {
		this.count = count;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String[] getFeature() {
		return feature;
	}

	public void setFeature(String[] feature) {
		this.feature = feature;
	}

	public String getFeatureStr() {
		return featureStr;
	}

	public void setFeatureStr(String featureStr) {
		this.featureStr = featureStr;
	}

}
